<template>
	<view>
		<view class="custom-navbar" :style="{ paddingTop: safeAreaInsets.top + 'px' }">
			<view class="navbar-title">
				<slot name="name"></slot>
			</view>
		</view>
	</view>
</template>

<script setup>
	const { safeAreaInsets } = uni.getSystemInfoSync()
</script>